﻿@model DataModel.SiteAttributeSet

@{
    ViewBag.Title = "Create";
}

<div style="width: 100%; float:left; position:relative; top: 60px; margin-left: 60px; margin-bottom: 60px;"> 
    <h2 class="blue-font-title" style="margin-left: 0;">Create Attributes</h2>
    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(true)

        <fieldset>
            <legend>SiteAttributeSet</legend>

            <div class="editor-label">
                @Html.LabelFor(model => model.Name)
            </div>
            <div class="editor-field">
                @Html.EditorFor(model => model.Name)
                @Html.ValidationMessageFor(model => model.Name)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.SiteId, "Site")
            </div>
            <div class="editor-field">
                @Html.DropDownList("SiteId", String.Empty)
                @Html.ValidationMessageFor(model => model.SiteId)
            </div>

            <p>
                <input class="btn btn-primary" type="submit" value="Create" />
            </p>
        </fieldset>
    }

    <div>
        <p class="blue-font not-transform-text">
            @Html.ActionLink("Back to List", "Index")
        </p>
    </div>
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
